/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.HoSoDatChoBLL;
import edu.nii.qlks.DataTransferObject.HoSoDatChoInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class HoSoDatChoControl {
    HoSoDatChoBLL HoSoDatCho = new HoSoDatChoBLL();
    
    public ArrayList LayDS() throws Exception{
        return HoSoDatCho.LayDS();
    }
        
    public void Insert(HoSoDatChoInfo hoSoDatChoInfo) throws Exception{
        HoSoDatCho.Insert(hoSoDatChoInfo);
    }
    
    public void Update(HoSoDatChoInfo hoSoDatChoInfo) throws Exception{
        HoSoDatCho.Update(hoSoDatChoInfo);
    }
    
    public void Delete(HoSoDatChoInfo hoSoDatChoInfo) throws Exception{
        HoSoDatCho.Delete(hoSoDatChoInfo);
    }
    
    public String TaoMaTuDong(String maGoc, int batDau){
         return HoSoDatCho.TaoMaTuDong(maGoc, batDau);
     }
}
